﻿@model Weibo4Sharp.Model.WeiboUser

<div class="head-pic">
        @{ var url = "http://weibo.com/";}
        @{
            if (!string.IsNullOrEmpty(Model.Domain))
            {
                url += Model.Domain;
            }
            else
            {
                url += Model.Id;            
            }
        }
        <a href="@url" target="_blank">
            <img alt="@Model.ScreenName" src="@Model.ProfileImageUrl" />
        </a>
    </div>